31. Assessment

View Attributes

A __ resource can hold multiple attributes and be applied to a View as a single value.

SOLUTION: style

Resource

Which of the following should NOT be stored as a resource?

SOLUTION: None of the above

Constraints

Which constraints should be set to stack Views verticially on top of each other?

SOLUTION:
  • Top
  • Bottom

Styles

Aligning TextViews with different styles can be accomplished with _ constraint.

SOLUTION: Baseline

Layouts3

__ is used to create space outside of an object.

SOLUTION: margin

Layouts

ConstraintLayout is more efficient than LinearLayout for simple UIs with few Views

SOLUTION: False

Layouts2

ConstraintLayout is more efficient than nested LinearLayouts for more complex UIs

SOLUTION: True